package ro.biancaS.assignment;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DateT
{	

	public void getDateTime()
	{	
		Date currentdate = new Date();
	    DateFormat dateTimeFormat = new SimpleDateFormat("dd/MM/yyyy");
	    System.out.println(" The current date is :" + dateTimeFormat.format(currentdate));
	
	}

}
